//
//  ByBasketBallHandle.h
//  caipiao_ios
//
//  Created by mc on 2018/9/6.
//  Copyright © 2018年 ZhangZhanbin. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ByBasketBallHandle : NSObject


//构造篮球投注
+ (NSMutableDictionary *)getBasketBallNumWithSelectedData:(NSMutableArray *)dataArray WithType:(NSInteger)type;

//构建数据 胜负
+ (NSMutableArray *)getFinalSfDataWithDic:(NSDictionary *)dic WithOtherModel:(ByNetModel *)otherModell;
+ (NSMutableArray *)getFinalRsfDataWithDic:(NSDictionary *)dic WithOtherModel:(ByNetModel *)otherModel;
//大小分
+ (NSMutableArray *)getFinalBigSmallDataWithDic:(NSDictionary *)dic WithOtherModel:(ByNetModel *)otherModel;
+ (NSMutableArray *)getFinalSfcDataWithDic:(NSDictionary *)dic WithOtherModel:(ByNetModel *)otherModel;

//根据选择的某一类比赛数组  转化成字典
+ (NSMutableDictionary *)getFootBallDictionaryOfMatch:(NSMutableArray *)selectedArray;


//一场比赛只能选择一种投注类型
+ (BOOL)isOrNotClickWithSfData:(NSMutableArray *)sfArray rsfData:(NSMutableArray *)rsfArray bigSmallData:(NSMutableArray *)bigSmallArray sfcData:(NSMutableArray *)sfcArray WithType:(NSInteger )type WithIndexPath:(NSIndexPath *)indexPath;

+ (BOOL)isOrNotClickWithSfData:(NSMutableArray *)sfArray rsfData:(NSMutableArray *)rsfArray bigSmallData:(NSMutableArray *)bigSmallArray sfcData:(NSMutableArray *)sfcArray WithType:(NSInteger )type;


+ (NSMutableDictionary *)getBasketBallGameResultWithPlan:(NSString *)plan;

+ (NSString *)getGameResultStringWithSaiDic:(NSDictionary *)dic;

// 篮球赛事解析
+ (NSString *)getBasketBallGameResultStringWithSaiDic:(NSDictionary *)dic;

+ (NSString *)getBasketBallGameWithSaiDicRq:(NSDictionary *)dic;

//有单关
+ (BOOL)hasSingleWithArray:(NSMutableArray *)dataArray;


//得到篮球，跟单开奖结果
+ (NSString *)getDocumentaryBasketBallResultWithDic:(NSDictionary *)dic;
    
@end
